package com.zhongkai.app.service;

import com.zhongkai.model.utils.ZhongkaiResult;

/**
 * 供应商
 * */
public interface SupplierService {


    //添加供应商
    ZhongkaiResult addSupplier(
            String sup_uuid,
            String sup_name,
            String sup_address,
            String sup_attn,
            String sup_phone,
            String sup_mail,
            String sup_remark
            );


    //删除供应商
    ZhongkaiResult removeSupplier(
            Long id
    );

    //修改供应商
    ZhongkaiResult updateSupplier(
            String id,
            String sup_name,
            String sup_address,
            String sup_attn,
            String sup_phone,
            String sup_mail,
            String sup_remark
    );

    //分页获取供应商信息
    ZhongkaiResult listSupplier(
            Integer page, Integer rows
    );
}
